home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 25 / PC Gamer IT CD 25.iso / ZGI_DEMO / DATA / SCRIPTS.ZFS / gjm1.scr < prev    next >
Text File  |  1997-09-04  |  16KB  |  562 lines

  1. # Node gjm1 generated on Thu Sep 04 16:18:39 1997
  2. world g
  3. room j
  4. nodeview m1
  5.  
  6. puzzle:01150 {    # gjm1_screenset
  7.     criteria {
  8.     }
  9.     results {
  10.         action:assign(00008, 0)    # KeyPress
  11.         action:menu_bar_enable(257)
  12.         action:set_screen(g00zf101.tga)
  13.         action:assign(01151, 0)    # gjmb_leave_in_three_seconds
  14.     }
  15.     flags {
  16.         once_per_inst
  17.         do_me_now
  18.     }
  19. }
  20.  
  21. puzzle:01152 {    # gjm1_preload_anim_1
  22.     criteria {
  23.         [00191] = 2    # SPELL_1_IN_BOOK
  24.     }
  25.     results {
  26.         action:assign(01153, 1)    # gjm1_cant_go
  27.         action:animpreload:01154(g00za751.rlf 0 0 0 15)    # gjm1_spell_1_anim_task
  28.     }
  29.     flags {
  30.         once_per_inst
  31.         do_me_now
  32.     }
  33. }
  34.  
  35. puzzle:01155 {    # gjm1_anim_1_start_puz
  36.     criteria {
  37.         [01150] = 1    # gjm1_screenset
  38.         [00191] = 2    # SPELL_1_IN_BOOK
  39.         [01152] = 1    # gjm1_preload_anim_1
  40.     }
  41.     results {
  42.         action:assign(01156, 1)    # gjm1_spell_1_in
  43.         action:music:01157(0 gs0zq75q.raw 0 100)    # gjm1_add_spell_music_1
  44.         action:playpreload:01158(01154 320 50 620 110 0 29 1)    # gjm1_spell_1_anim_task
  45.     }
  46.     flags {
  47.         do_me_now
  48.     }
  49. }
  50.  
  51. puzzle:01159 {    # gjm1_anim_1_end_puz
  52.     criteria {
  53.         [01158] = 2    # gjm1_spell_1_anim
  54.     }
  55.     results {
  56.         action:assign(00191, 1)    # SPELL_1_IN_BOOK
  57.         action:assign(01158, 0)    # gjm1_spell_1_anim
  58.         action:enable_control(01160)    # gjm1_magic_spell_1_click
  59.         action:add(01161, 1)    # gjmb_spell_counter
  60.         action:set_partial_screen(320 50 g00zv751.tga 0 -1)
  61.         action:timer:01151(30)    # gjmb_leave_in_three_seconds
  62.         action:assign(01153, 0)    # gjm1_cant_go
  63.     }
  64. }
  65.  
  66. puzzle:01156 {    # gjm1_spell_1_in
  67.     criteria {
  68.         [01150] = 1    # gjm1_screenset
  69.         [00191] = 1    # SPELL_1_IN_BOOK
  70.     }
  71.     results {
  72.         action:assign(01162, 1)    # gjm1_spell_1_out
  73.         action:assign(01163, 1)    # gjm1_spell_1_reversed
  74.         action:enable_control(01160)    # gjm1_magic_spell_1_click
  75.         action:set_partial_screen(320 50 g00zv751.tga 0 -1)
  76.     }
  77.     flags {
  78.         once_per_inst
  79.         do_me_now
  80.     }
  81. }
  82.  
  83. puzzle:01162 {    # gjm1_spell_1_out
  84.     criteria {
  85.         [00191] ! 1    # SPELL_1_IN_BOOK
  86.         [00191] ! 3    # SPELL_1_IN_BOOK
  87.     }
  88.     results {
  89.         action:assign(01156, 1)    # gjm1_spell_1_in
  90.         action:assign(01163, 1)    # gjm1_spell_1_reversed
  91.         action:disable_control(01160)    # gjm1_magic_spell_1_click
  92.     }
  93.     flags {
  94.         once_per_inst
  95.         do_me_now
  96.     }
  97. }
  98.  
  99. puzzle:01163 {    # gjm1_spell_1_reversed
  100.     criteria {
  101.         [01150] = 1    # gjm1_screenset
  102.         [00191] = 3    # SPELL_1_IN_BOOK
  103.     }
  104.     results {
  105.         action:assign(01156, 1)    # gjm1_spell_1_in
  106.         action:assign(01162, 1)    # gjm1_spell_1_out
  107.         action:enable_control(01160)    # gjm1_magic_spell_1_click
  108.         action:set_partial_screen(320 50 g00zv751.tga 0 -1)
  109.     }
  110.     flags {
  111.         once_per_inst
  112.         do_me_now
  113.     }
  114. }
  115.  
  116. puzzle:01164 {    # gjm1_preload_anim_2
  117.     criteria {
  118.         [00192] = 2    # SPELL_2_IN_BOOK
  119.     }
  120.     results {
  121.         action:assign(01153, 1)    # gjm1_cant_go
  122.         action:animpreload:01165(g00za751.rlf 0 0 0 15)    # gjm1_spell_2_anim_task
  123.     }
  124.     flags {
  125.         once_per_inst
  126.         do_me_now
  127.     }
  128. }
  129.  
  130. puzzle:01166 {    # gjm1_anim_2_start_puz
  131.     criteria {
  132.         [01150] = 1    # gjm1_screenset
  133.         [00192] = 2    # SPELL_2_IN_BOOK
  134.         [01164] = 1    # gjm1_preload_anim_2
  135.     }
  136.     results {
  137.         action:assign(01167, 1)    # gjm1_spell_2_in
  138.         action:music:01168(0 gs0zq75q.raw 0 100)    # gjm1_add_spell_music_2
  139.         action:playpreload:01169(01165 320 110 620 170 0 29 1)    # gjm1_spell_2_anim_task
  140.     }
  141.     flags {
  142.         do_me_now
  143.     }
  144. }
  145.  
  146. puzzle:01170 {    # gjm1_anim_2_end_puz
  147.     criteria {
  148.         [01169] = 2    # gjm1_spell_2_anim
  149.     }
  150.     results {
  151.         action:assign(00192, 1)    # SPELL_2_IN_BOOK
  152.         action:assign(01169, 0)    # gjm1_spell_2_anim
  153.         action:enable_control(01171)    # gjm1_magic_spell_2_click
  154.         action:add(01161, 1)    # gjmb_spell_counter
  155.         action:set_partial_screen(320 110 g00zv751.tga 0 -1)
  156.         action:timer:01151(30)    # gjmb_leave_in_three_seconds
  157.         action:assign(01153, 0)    # gjm1_cant_go
  158.     }
  159. }
  160.  
  161. puzzle:01167 {    # gjm1_spell_2_in
  162.     criteria {
  163.         [01150] = 1    # gjm1_screenset
  164.         [00192] = 1    # SPELL_2_IN_BOOK
  165.     }
  166.     results {
  167.         action:assign(01172, 1)    # gjm1_spell_2_out
  168.         action:assign(01173, 1)    # gjm1_spell_2_reversed
  169.         action:enable_control(01171)    # gjm1_magic_spell_2_click
  170.         action:set_partial_screen(320 110 g00zv751.tga 0 -1)
  171.     }
  172.     flags {
  173.         once_per_inst
  174.         do_me_now
  175.     }
  176. }
  177.  
  178. puzzle:01172 {    # gjm1_spell_2_out
  179.     criteria {
  180.         [00192] ! 1    # SPELL_2_IN_BOOK
  181.         [00192] ! 3    # SPELL_2_IN_BOOK
  182.     }
  183.     results {
  184.         action:assign(01167, 1)    # gjm1_spell_2_in
  185.         action:assign(01173, 1)    # gjm1_spell_2_reversed
  186.         action:disable_control(01171)    # gjm1_magic_spell_2_click
  187.     }
  188.     flags {
  189.         once_per_inst
  190.         do_me_now
  191.     }
  192. }
  193.  
  194. puzzle:01173 {    # gjm1_spell_2_reversed
  195.     criteria {
  196.         [01150] = 1    # gjm1_screenset
  197.         [00192] = 3    # SPELL_2_IN_BOOK
  198.     }
  199.     results {
  200.         action:assign(01167, 1)    # gjm1_spell_2_in
  201.         action:assign(01172, 1)    # gjm1_spell_2_out
  202.         action:enable_control(01171)    # gjm1_magic_spell_2_click
  203.         action:set_partial_screen(320 110 g00zv751.tga 0 -1)
  204.     }
  205.     flags {
  206.         once_per_inst
  207.         do_me_now
  208.     }
  209. }
  210.  
  211. puzzle:01174 {    # gjm1_preload_anim_3
  212.     criteria {
  213.         [00193] = 2    # SPELL_3_IN_BOOK
  214.     }
  215.     results {
  216.         action:assign(01153, 1)    # gjm1_cant_go
  217.         action:animpreload:01175(g00za751.rlf 0 0 0 15)    # gjm1_spell_3_anim_task
  218.     }
  219.     flags {
  220.         once_per_inst
  221.         do_me_now
  222.     }
  223. }
  224.  
  225. puzzle:01176 {    # gjm1_anim_3_start_puz
  226.     criteria {
  227.         [01150] = 1    # gjm1_screenset
  228.         [00193] = 2    # SPELL_3_IN_BOOK
  229.         [01174] = 1    # gjm1_preload_anim_3
  230.     }
  231.     results {
  232.         action:assign(01177, 1)    # gjm1_spell_3_in
  233.         action:music:01178(0 gs0zq75q.raw 0 100)    # gjm1_add_spell_music_3
  234.         action:playpreload:01179(01175 320 170 620 230 0 29 1)    # gjm1_spell_3_anim_task
  235.     }
  236.     flags {
  237.         do_me_now
  238.     }
  239. }
  240.  
  241. puzzle:01180 {    # gjm1_anim_3_end_puz
  242.     criteria {
  243.         [01179] = 2    # gjm1_spell_3_anim
  244.     }
  245.     results {
  246.         action:assign(00193, 1)    # SPELL_3_IN_BOOK
  247.         action:assign(01179, 0)    # gjm1_spell_3_anim
  248.         action:enable_control(01181)    # gjm1_magic_spell_3_click
  249.         action:add(01161, 1)    # gjmb_spell_counter
  250.         action:set_partial_screen(320 170 g00zv751.tga 0 -1)
  251.         action:timer:01151(30)    # gjmb_leave_in_three_seconds
  252.         action:assign(01153, 0)    # gjm1_cant_go
  253.     }
  254. }
  255.  
  256. puzzle:01177 {    # gjm1_spell_3_in
  257.     criteria {
  258.         [01150] = 1    # gjm1_screenset
  259.         [00193] = 1    # SPELL_3_IN_BOOK
  260.     }
  261.     results {
  262.         action:assign(01182, 1)    # gjm1_spell_3_out
  263.         action:assign(01183, 1)    # gjm1_spell_3_reversed
  264.         action:enable_control(01181)    # gjm1_magic_spell_3_click
  265.         action:set_partial_screen(320 170 g00zv751.tga 0 -1)
  266.     }
  267.     flags {
  268.         once_per_inst
  269.         do_me_now
  270.     }
  271. }
  272.  
  273. puzzle:01182 {    # gjm1_spell_3_out
  274.     criteria {
  275.         [00193] ! 1    # SPELL_3_IN_BOOK
  276.         [00193] ! 3    # SPELL_3_IN_BOOK
  277.     }
  278.     results {
  279.         action:assign(01177, 1)    # gjm1_spell_3_in
  280.         action:assign(01183, 1)    # gjm1_spell_3_reversed
  281.         action:disable_control(01181)    # gjm1_magic_spell_3_click
  282.     }
  283.     flags {
  284.         once_per_inst
  285.         do_me_now
  286.     }
  287. }
  288.  
  289. puzzle:01183 {    # gjm1_spell_3_reversed
  290.     criteria {
  291.         [01150] = 1    # gjm1_screenset
  292.         [00193] = 3    # SPELL_3_IN_BOOK
  293.     }
  294.     results {
  295.         action:assign(01177, 1)    # gjm1_spell_3_in
  296.         action:assign(01182, 1)    # gjm1_spell_3_out
  297.         action:enable_control(01181)    # gjm1_magic_spell_3_click
  298.         action:set_partial_screen(320 170 g00zv751.tga 0 -1)
  299.     }
  300.     flags {
  301.         once_per_inst
  302.         do_me_now
  303.     }
  304. }
  305.  
  306. puzzle:01184 {    # gjm1_turn_page
  307.     criteria {
  308.         [01185] = 1    # gjm1_page_turn_1
  309.     }
  310.     results {
  311.         action:assign(01185, 0)    # gjm1_page_turn_1
  312.         action:assign(01186, 1)    # gjmb_current_page
  313.         action:universe_music:01187(0 g100h84q.raw 0 100)    # gjm1_page_turn_right_sound
  314.         action:dissolve()
  315.         action:change_location(g, j, m2, 0)
  316.     }
  317.     flags {
  318.         once_per_inst
  319.     }
  320. }
  321.  
  322. puzzle:01188 {    # gjm1_time_to_return
  323.     criteria {
  324.         [01189] = 1    # not_gonna_happen
  325.         [01151] = 2    # gjmb_leave_in_three_seconds
  326.     }
  327.     results {
  328.         action:assign(01151, 0)    # gjmb_leave_in_three_seconds
  329.         action:assign(01190, 1)    # gjm1_backup
  330.     }
  331.     flags {
  332.         once_per_inst
  333.     }
  334. }
  335.  
  336. puzzle:01191 {    # gjm1_cant_go_yet
  337.     criteria {
  338.         [01190] = 1    # gjm1_backup
  339.         [01153] = 1    # gjm1_cant_go
  340.     }
  341.     criteria {
  342.         [00008] = 32    # KeyPress
  343.         [01153] = 1    # gjm1_cant_go
  344.     }
  345.     results {
  346.         action:assign(01191, 0)    # gjm1_cant_go_yet
  347.         action:assign(00008, 0)    # KeyPress
  348.         action:assign(01190, 0)    # gjm1_backup
  349.     }
  350.     flags {
  351.         once_per_inst
  352.     }
  353. }
  354.  
  355. puzzle:01192 {    # gjm1_goto_return_screen
  356.     criteria {
  357.         [01190] = 1    # gjm1_backup
  358.         [01066] ! 1    # gjiv_came_from_inv
  359.         [01153] = 0    # gjm1_cant_go
  360.     }
  361.     criteria {
  362.         [00008] = 32    # KeyPress
  363.         [01066] ! 1    # gjiv_came_from_inv
  364.         [01153] = 0    # gjm1_cant_go
  365.     }
  366.     results {
  367.         action:assign(01066, 0)    # gjiv_came_from_inv
  368.         action:assign(00008, 0)    # KeyPress
  369.         action:assign(01190, 0)    # gjm1_backup
  370.         action:assign(01192, 0)    # gjm1_goto_return_screen
  371.         action:assign(01099, 0)    # gjmb_came_from_mb
  372.         action:assign(01103, 0)    # gjma_came_from_map
  373.         action:dissolve()
  374.         action:change_location(0, 0, 00, 0)
  375.     }
  376.     flags {
  377.         once_per_inst
  378.     }
  379. }
  380.  
  381. puzzle:01193 {    # gjm1_goto_magic_inv
  382.     criteria {
  383.         [01190] = 1    # gjm1_backup
  384.         [01066] = 1    # gjiv_came_from_inv
  385.         [01153] = 0    # gjm1_cant_go
  386.     }
  387.     criteria {
  388.         [00008] = 32    # KeyPress
  389.         [01066] = 1    # gjiv_came_from_inv
  390.         [01153] = 0    # gjm1_cant_go
  391.     }
  392.     results {
  393.         action:assign(01066, 0)    # gjiv_came_from_inv
  394.         action:assign(00008, 0)    # KeyPress
  395.         action:assign(01190, 0)    # gjm1_backup
  396.         action:assign(01193, 0)    # gjm1_goto_magic_inv
  397.         action:assign(01099, 0)    # gjmb_came_from_mb
  398.         action:assign(01103, 0)    # gjma_came_from_map
  399.         action:dissolve()
  400.         action:change_location(G, J, IV, 0)
  401.     }
  402.     flags {
  403.         once_per_inst
  404.     }
  405. }
  406.  
  407. puzzle:01194 {    # gjm1_goto_inv_from_mb
  408.     criteria {
  409.         [00018] = 1    # mouse_rightclick
  410.         [00019] ! 1    # MenuState
  411.         [01066] ! 1    # gjiv_came_from_inv
  412.         [01153] = 0    # gjm1_cant_go
  413.     }
  414.     results {
  415.         action:assign(01099, 1)    # gjmb_came_from_mb
  416.     }
  417.     flags {
  418.         once_per_inst
  419.     }
  420. }
  421.  
  422. puzzle:01195 {    # gjm1_goto_inv_from_mb2
  423.     criteria {
  424.         [00018] = 1    # mouse_rightclick
  425.         [00019] ! 1    # MenuState
  426.         [01066] = 1    # gjiv_came_from_inv
  427.         [01153] = 0    # gjm1_cant_go
  428.     }
  429.     results {
  430.         action:assign(00018, 0)    # mouse_rightclick
  431.         action:assign(00008, 32)    # KeyPress
  432.     }
  433.     flags {
  434.         once_per_inst
  435.     }
  436. }
  437.  
  438. puzzle:01196 {    # gjm1_spell_1_click
  439.     criteria {
  440.         [01160] = 1    # gjm1_magic_spell_1_click
  441.     }
  442.     results {
  443.         action:assign(01160, 0)    # gjm1_magic_spell_1_click
  444.         action:assign(01196, 0)    # gjm1_spell_1_click
  445.         action:inventory(drop 227)
  446.         action:inventory(drop 225)
  447.         action:inventory(drop 224)
  448.         action:inventory(drop 235)
  449.         action:inventory(drop 228)
  450.         action:inventory(drop 226)
  451.         action:inventory(drop 229)
  452.         action:inventory(drop 234)
  453.         action:inventory(drop 232)
  454.         action:inventory(drop 236)
  455.         action:inventory(drop 233)
  456.         action:inventory(drop 231)
  457.         action:inventory(drop 230)
  458.         action:inventory(drop 234)
  459.         action:inventory(add 224)
  460.         action:universe_music:01197(0 gs0zh02q.raw 0 100)    # gjm1_spell_sound_1
  461.         action:assign(00008, 32)    # KeyPress
  462.         action:assign(01198, 1)    # universe_magic_spell_miscast
  463.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  464.     }
  465.     flags {
  466.         once_per_inst
  467.     }
  468. }
  469.  
  470. puzzle:01200 {    # gjm1_spell_2_click
  471.     criteria {
  472.         [01171] = 1    # gjm1_magic_spell_2_click
  473.     }
  474.     results {
  475.         action:assign(01171, 0)    # gjm1_magic_spell_2_click
  476.         action:assign(01200, 0)    # gjm1_spell_2_click
  477.         action:inventory(drop 227)
  478.         action:inventory(drop 225)
  479.         action:inventory(drop 224)
  480.         action:inventory(drop 235)
  481.         action:inventory(drop 228)
  482.         action:inventory(drop 226)
  483.         action:inventory(drop 229)
  484.         action:inventory(drop 234)
  485.         action:inventory(drop 232)
  486.         action:inventory(drop 236)
  487.         action:inventory(drop 233)
  488.         action:inventory(drop 231)
  489.         action:inventory(drop 230)
  490.         action:inventory(drop 234)
  491.         action:inventory(add 225)
  492.         action:universe_music:01201(0 gs0zh02q.raw 0 100)    # gjm1_spell_sound_2
  493.         action:assign(00008, 32)    # KeyPress
  494.         action:assign(01198, 1)    # universe_magic_spell_miscast
  495.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  496.     }
  497.     flags {
  498.         once_per_inst
  499.     }
  500. }
  501.  
  502. puzzle:01202 {    # gjm1_spell_3_click
  503.     criteria {
  504.         [01181] = 1    # gjm1_magic_spell_3_click
  505.     }
  506.     results {
  507.         action:assign(01181, 0)    # gjm1_magic_spell_3_click
  508.         action:assign(01202, 0)    # gjm1_spell_3_click
  509.         action:inventory(drop 227)
  510.         action:inventory(drop 225)
  511.         action:inventory(drop 224)
  512.         action:inventory(drop 235)
  513.         action:inventory(drop 228)
  514.         action:inventory(drop 226)
  515.         action:inventory(drop 229)
  516.         action:inventory(drop 234)
  517.         action:inventory(drop 232)
  518.         action:inventory(drop 236)
  519.         action:inventory(drop 233)
  520.         action:inventory(drop 231)
  521.         action:inventory(drop 230)
  522.         action:inventory(drop 234)
  523.         action:inventory(add 226)
  524.         action:universe_music:01203(0 gs0zh02q.raw 0 100)    # gjm1_spell_sound_3
  525.         action:assign(00008, 32)    # KeyPress
  526.         action:assign(01198, 1)    # universe_magic_spell_miscast
  527.         action:assign(01199, 1)    # universe_magic_spell_miscast_beburtt
  528.     }
  529.     flags {
  530.         once_per_inst
  531.     }
  532. }
  533.  
  534. control:01185 push_toggle {    # gjm1_page_turn_1
  535.     flat_hotspot(569, 2, 71, 340)
  536.     cursor(rightarrow)
  537. }
  538.  
  539. control:01160 push_toggle {    # gjm1_magic_spell_1_click
  540.     flat_hotspot(320, 50, 290, 60)
  541.     cursor(active)
  542. }
  543.  
  544. control:01171 push_toggle {    # gjm1_magic_spell_2_click
  545.     flat_hotspot(320, 110, 290, 60)
  546.     cursor(active)
  547. }
  548.  
  549. control:01181 push_toggle {    # gjm1_magic_spell_3_click
  550.     flat_hotspot(320, 170, 290, 60)
  551.     cursor(active)
  552. }
  553.  
  554. control:01190 push_toggle {    # gjm1_backup
  555.     flat_hotspot(0, 286, 568, 57)
  556.     cursor(backward)
  557. }
  558.  
  559. control:01204 flat {    # gjm1_flat
  560. }
  561.  
  562.